import http from "@/utils/vmeitime-http/index.js";
// 获取提现模块数据
export const getPayMoneyData = (data) => http.get("/applet_shop/shop/getShopRevenueDetail", data);

// 获取提现记录
export const getPayMoneyRecord = (data) => http.get("/applet_shop/withdrawal/record/list", data);

// 获取提现设置
export const getPayMoneySetting = (data) => http.get("/applet_shop/withdrawal/setting/getSetting", data);
// 获取银行logo
export const getBankLogo = (data) => http.get("/applet_shop/withdrawal/setting/getBanksIcon", data);
// 获取所有的银行
export const getallBank = (data) => http.get("/applet_shop/withdrawal/setting/getBanks", data);
// 设置提现信息
export const setBankSetting = (data) => http.post("/applet_shop/withdrawal/setting/setSetting", data);

// 发起提现
export const withdrawalRecordAdd = (data) => http.post("/applet_shop/withdrawal/record/add", data);